package util;

public class ResultTypeList {
	public static final int SUCCESS = 0;
	public static final int UNKNOWN_FAIL = 1;
	public static final int NO_CONNECTION_FOUND = 2;
	
	
	public static final int NULL_ARGS =1000;//请求参数为null
	
	public static final int ERROR_ARGS =1001;//请求参数错误
	
	public static final int MACHINE_NO_REGUSTER =1200;//机器不合法或者机器未注册
	public static final int MACHINE_LEAVED = 1201;//机器被顶下线
	public static final int MACHINE_NO_ACTIVATE = 1202;//机器未激活
	public static final int MACHINE_NO_LOGIN =1203;//机器未登录
	public static final int GM_LET_MACHINE_LEAVE =1204;//GM让机器下线
	
	public static final int INSERT_DB_EXCEPTION = 2000;//服务器插入数据库异常
	public static final int UPDATA_DB_EXCEPTION =2001;//服务器更新数据库异常
	public static final int SELECT_DB_EXCEPTION =2002;//服务器查找数据库异常
	public static final int DELECT_DB_EXCEPTION = 2003;//服务器删除数据异常
	
	public static final int PLAYER_ENROLLED =3001;//不要重复匹配,选手已经在匹配列表里面
	public static final int CANT_JION_ENROLLEND_LIST =3002;//不能加入匹配列表,匹配人数过多
	public static final int CANT_REMOVE_ENROLLEND_LIST =3003;//不需要清除匹配列表,已经被清除匹配列表
	public static final int PLAYER_MATHSTATE_ERROR =3004;//玩家比赛状态不正常
	public static final int PLAYER_STATE_ERROR =3005;//玩家状态不正常
	public static final int OPPONENT_LOST = 3006;//对手掉线
	public static final int PLAYER_NO_LOGIN=3007;//玩家未登录
	public static final int NOT_GM_PLAYER =3008;//不是gm管理员
	public static final int OPPONENT_CANT_CHANLLENG=3009;//对手不在匹配状态不能挑战
	
	public static final int ALIPAY_EXCEPTION = 4001;//支付宝获取支付二维码异常
	public static final int WEIXIN_EXCEPTION = 4002;//微信获取支付二维码异常
	public static final int PHP_SERVER_ERROR = 4003;//PHP后台错误
}
